<script setup>
import { ref } from 'vue'
import Canvas from './Canvas.vue'
import Panel from './Panel.vue'
const nodeValue = ref()
const addNode = (option) => {
  nodeValue.value = option
}
</script>
<template>
  <div style="display: flex;">
    <Panel @addNode="addNode" />
    <Canvas :newNode="nodeValue" />
  </div>
</template>
 
